package Wix::Tag::Wix;

use parent qw/Wix::Tag/;

use Wix::Tag::Product;

sub new() {
	my ($class) = shift;
	
	my $self = Wix::Tag->new({TAG => 'Wix'});
	
	$self->addAttr('xmlns', 'http://schemas.microsoft.com/wix/2006/wi');
	$self->addAttr('xmlns:util', 'http://schemas.microsoft.com/wix/UtilExtension');
	
	return bless($self, $class);
}

sub addProduct($) {
	my ($self, $product) = @_;

	$self->addElement('Wix::Tag::Product', $product);	
}

1;